﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;


namespace EvoWars.Stuffs
{
    public class CollisionObject
    {
        /// <summary>
        /// the position of the top left of the object
        /// </summary>
        private Vector2 position;
        public Vector2 Position
        {
            get { return position; }
            set
            {
                position = value;
                BoundingBox = new Rectangle((int)Position.X, (int)position.Y, BoundingBox.Width, BoundingBox.Height);
            }
        }
        public Rectangle BoundingBox { get; set; }
        public Texture2D Texture { get; set; }




    }
}
